home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global whichOver
- if rollOver(18) then
- if whichOver <> 18 then
- set the text of cast "Display" to "Press to flip the Menu"
- puppetSound("over")
- set whichOver to 18
- end if
- go(the frame)
- exit
- end if
- set noOver to 1
- repeat with each = 3 to 9
- if each = 9 then
- if the frame = 25 then
- go(the frame)
- exit
- end if
- end if
- if rollOver(each) then
- if whichOver = each then
- go(the frame)
- exit
- end if
- puppetSprite(each + 8, 1)
- set the visible of sprite (each + 8) to 1
- puppetSprite(each + 8, 0)
- updateStage()
- set DisplayMe to the castNum of sprite each
- set the text of cast "Display" to the name of cast DisplayMe
- puppetSound("over")
- set whichOver to each
- set noOver to 0
- updateStage()
- next repeat
- end if
- puppetSprite(each + 8, 1)
- set the visible of sprite (each + 8) to 0
- puppetSprite(each + 8, 0)
- updateStage()
- end repeat
- if noOver = 1 then
- set the text of cast "Display" to EMPTY
- set whichOver to 0
- end if
- updateStage()
- go(the frame)
- end
-